<template>
	<Table :pagination="false" v-bind="tableOpts">
	</Table>
</template>

<script>
import tableMixins from "@/mixins/tableMixins.vue";
export default {
	mixins: [tableMixins],
	props: {
		notFound: {
			type: Array,
			default: () => [],
		},
	},
	data () {
		return {};
	},
	computed: {
		columns () {
			return [
				{ label: "商品名称", prop: "productName", minWidth: "‘200px" },
				{ label: "规格", prop: "norms", minWidth: "‘200px" },
				{ label: "数量", prop: "count", minWidth: "‘200px" },
			];
		},
	},
	watch: {
		notFound: {
			deep: true,
			immediate: true,
			handler (val) {
				this.dataSource = val;
			},
		},
	},

	// dataSource,
};
</script>

<style lang="less" scoped></style>

